package org.nanotek.service.impl;

import java.util.ArrayList;
import java.util.List;

import javax.ejb.EJB;
import javax.ejb.Stateless;

import org.json.JSONArray;
import org.nanotek.beans.Release;
import org.nanotek.dao.ReleaseDAO;
import org.nanotek.service.ReleaseService;

@Stateless(name="RelaseService" , mappedName="ReleaseService")
public class ReleaseServiceImpl implements ReleaseService{

	@EJB
	ReleaseDAO releaseDAO;

	
	public ReleaseServiceImpl() {
	}

	public List<Release> findReleases (String artistCredits)
	{
		return releaseDAO.findReleases(artistCredits);
	}
	
}
